﻿ using Microsoft.EntityFrameworkCore;
using S.Breeding.Domain;

namespace S.Breeding.Infrastructure
{
    public class EFDbContext:DbContext
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="options"></param>
        public EFDbContext(DbContextOptions<EFDbContext> options) : base(options) { }
        /// <summary>
        /// 体尺测定表
        /// </summary>
        public DbSet<BodyMeasure>? BodyMeasure { get; set; }
        /// <summary>
        /// 品相测定表
        /// </summary>
        public DbSet<ConditionMeasure>? ConditionMeasure { get; set; }
        /// <summary>
        /// 称重测定表
        /// </summary>
        public DbSet<SheepWeigh>? SheepWeigh { get; set; }
        /// <summary>
        /// 死亡管理
        /// </summary>
        public DbSet<DeathManage>? DeathManage { get; set; }
        /// <summary>
        /// 淘汰管理
        /// </summary>
        public DbSet<OustManage>? OustManage { get; set; }
        /// <summary>
        /// 羔羊断奶
        /// </summary>
        public DbSet<LambWeaning>? LambWeaning { get; set;}
    }
}
